{"required":["firstName","lastName","active"],"type":"object","properties":{"firstName":{"pattern":"\\S","type":"string"},"lastName":{"pattern":"\\S","type":"string"},"email":{"type":"string"},"phoneNumber":{"pattern":"^\\+?\\d+$","type":"string"},"personalId":{"description":"Personal id provided by the user\n","type":"string"},"countryCode":{"description":"Nation with its own government. ISO 3166, Alpha-2 code\n","type":"string","example":"US","maxLength":2},"active":{"type":"boolean","description":"Indicates whether the user is active."},"deviceId":{"description":"Device identifier associated with the user\n","type":"string"},"additionalUserDetails":{"description":"Additional user details to pass as key-value pairs, for example `\"title\": \"Dr.\"` and `\"department\": \"Finance\"`\n","type":"object","additionalProperties":true,"example":{"title":"Dr.","department":"Finance"}},"preferredLanguage":{"type":"string","description":"Preferred language of the user. Language code as locale code. E.g. en-US, en-GB, nl-NL.","example":"en-US"}}}